<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,initial-scale=1.0,width=device-width"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>在漯河下载</title>
    <style>
        body{
            background: #212121;
        }

    </style>
</head>
<body>

<?php
if(strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone')||strpos($_SERVER['HTTP_USER_AGENT'], 'iPad')){

    if (is_weixin()) {
        echo '<img src="img/live_weixin.png">';
    }else{

        echo '软件审核即将上线';
    }

    ?>


<?php
}else{

    if (is_weixin()) {
        echo '<img src="img/live_weixin.png">';
    }else{
        echo '<script type="text/javascript">window.location.href="http://www.lhsmao.com/uploads/6c043f3e45b568dcee796690f53d2d7c.apk";</script>';
    }

    ?>

<?php } ?>



<?php

function is_weixin(){
    if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger') !== false ) {
        return true;
    }
    return false;
}


?>

</body>
<style type="text/css" media="screen">
    body{margin: 0px;padding: 0px}
    img{width: 100%;height: 100%}
</style>
</html>

